package visitor.fenpai;

/**
 * @Author: Doream
 * @Date: 2022/1/30 14:27
 */
public class Execute {
    public void execute(Animal animal) {
        System.out.println("Animal");
    }

    public void execute(Dog dog) {
        System.out.println("dog");
    }

    public void execute(Cat cat) {
        System.out.println("cat");
    }
}
